<?php $this->_extends('_layouts/main_layout'); ?>

<?php $this->_block('title'); ?>
User Login
<?php $this->_endblock(); ?>

<?php $this->_block('keywords');?>
<meta name="keywords" content="<?php echo $site['keywords']; ?>" />
<?php $this->_endblock();?>

<?php $this->_block('description');?>
<meta name="description" content="<?php echo $site['description']; ?>" />
<?php $this->_endblock();?>

<?php $this->_block('content'); ?>
<div class="mt">
	<?php $this->_element('social'); ?>
</div>
<div class="mm help">
	<div class="topad">
	</div>
	<div class="clear" style="height: 10px"></div>
	<div class="left white" style="width: 600px;">
		<div class="title" style="padding-bottom: 10px">Login In</div>
		<form action="<?php echo url('user/logging'); ?>" method="post">
			<?php if(isset($errors)):?>
				<ul class="errors">
					<?php foreach ($errors as $error):?>
						<li><?php echo $error;?></li>
					<?php endforeach;?>
				</ul>
			<?php endif;?>
			<div class="left" style="width: 395px;">
				<div class="tr" style="padding-bottom: 10px">
					<div class="lable left">* Email</div>
					<div class="m left">
						<input class="inputtxt" name="email" id="email"
							value="<?php echo isset($email) ? $email : ""; ?>" />
					</div>
					<div class="clear"></div>
				</div>
				<div class="clear"></div>
				<div class="tr" style="padding-bottom: 10px">
					<div class="lable left">* Password</div>
					<div class="m left">
						<input class="inputtxt" name="password" id="password" type="password"/>
					</div>
					<div class="clear"></div>
				</div>
				<div class="tr">
					<div class="lable left"></div>
					<div class="m left">
						<input type="checkbox" name="rememberMe" id="password" value="1" checked="checked"/><span>Remember Me?</span>
							<a href="<?php echo url('user/forgetpassword'); ?>" style="color:yellow;text-decoration:underline;padding-left:10px;"><span>Forgot Password?</span></a>
					</div>
					<div class="clear"></div>
				</div>
				<div class="tr">
					<div class="lable left"></div>
					<div class="m left">* Items are required</div>
					<div class="info left"></div>
					<div class="clear"></div>
				</div>
				<div class="tr">
					<div class="lable left"></div>
					<div class="m left save">
						<input type="image"
							src="<?php echo $img_url;?>login.png" alt=""
							name="submit" />
					</div>
					<div class="info left"></div>
					<div class="clear"></div>
				</div>
			</div>
		</form>
	</div>
	<div class="right rightad">
	</div>
	<div class="clear" style="height: 20px;"></div>
	<div class="bottomad">
	</div>
</div>
<div class="mb"></div>
<?php $this->_endblock(); ?>